3.60 \(\int \sinh (a+b x^n) \, dx\)

Optimal. Leaf size=67 \[ \frac {e^{-a} x \left (b x^n\right )^{-1/n} \Gamma \left (\frac {1}{n},b x^n\right )}{2 n}-\frac {e^a x \left (-b x^n\right )^{-1/n} \Gamma \left (\frac {1}{n},-b x^n\right )}{2 n} \]

[Out]

-1/2*exp(a)*x*GAMMA(1/n,-b*x^n)/n/((-b*x^n)^(1/n))+1/2*x*GAMMA(1/n,b*x^n)/exp(a)/n/((b*x^n)^(1/n))

________________________________________________________________________________________

Rubi [A]  time = 0.02, antiderivative size = 67, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 2, integrand size = 8, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.250, Rules used = {5306, 2208} \[ \frac {e^{-a} x \left (b x^n\right )^{-1/n} \text {Gamma}\left (\frac {1}{n},b x^n\right )}{2 n}-\frac {e^a x \left (-b x^n\right )^{-1/n} \text {Gamma}\left (\frac {1}{n},-b x^n\right )}{2 n} \]

Antiderivative was successfully verified.

[In]

Int[Sinh[a + b*x^n],x]

[Out]

-(E^a*x*Gamma[n^(-1), -(b*x^n)])/(2*n*(-(b*x^n))^n^(-1)) + (x*Gamma[n^(-1), b*x^n])/(2*E^a*n*(b*x^n)^n^(-1))

Rule 2208

Int[(F_)^((a_.) + (b_.)*((c_.) + (d_.)*(x_))^(n_)), x_Symbol] :> -Simp[(F^a*(c + d*x)*Gamma[1/n, -(b*(c + d*x)
^n*Log[F])])/(d*n*(-(b*(c + d*x)^n*Log[F]))^(1/n)), x] /; FreeQ[{F, a, b, c, d, n}, x] &&  !IntegerQ[2/n]

Rule 5306

Int[Sinh[(c_.) + (d_.)*(x_)^(n_)], x_Symbol] :> Dist[1/2, Int[E^(c + d*x^n), x], x] - Dist[1/2, Int[E^(-c - d*
x^n), x], x] /; FreeQ[{c, d, n}, x]

Rubi steps

\begin {align*} \int \sinh \left (a+b x^n\right ) \, dx &=-\left (\frac {1}{2} \int e^{-a-b x^n} \, dx\right )+\frac {1}{2} \int e^{a+b x^n} \, dx\\ &=-\frac {e^a x \left (-b x^n\right )^{-1/n} \Gamma \left (\frac {1}{n},-b x^n\right )}{2 n}+\frac {e^{-a} x \left (b x^n\right )^{-1/n} \Gamma \left (\frac {1}{n},b x^n\right )}{2 n}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.08, size = 79, normalized size = 1.18 \[ \frac {\left (-b^2 x^{2 n}\right )^{-1/n} \left (x (\cosh (a)-\sinh (a)) \left (-b x^n\right )^{\frac {1}{n}} \Gamma \left (\frac {1}{n},b x^n\right )-x (\sinh (a)+\cosh (a)) \left (b x^n\right )^{\frac {1}{n}} \Gamma \left (\frac {1}{n},-b x^n\right )\right )}{2 n} \]

Antiderivative was successfully verified.

[In]

Integrate[Sinh[a + b*x^n],x]

[Out]

(x*(-(b*x^n))^n^(-1)*Gamma[n^(-1), b*x^n]*(Cosh[a] - Sinh[a]) - x*(b*x^n)^n^(-1)*Gamma[n^(-1), -(b*x^n)]*(Cosh
[a] + Sinh[a]))/(2*n*(-(b^2*x^(2*n)))^n^(-1))

________________________________________________________________________________________

fricas [F]  time = 0.74, size = 0, normalized size = 0.00 \[ {\rm integral}\left (\sinh \left (b x^{n} + a\right ), x\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(sinh(a+b*x^n),x, algorithm="fricas")

[Out]

integral(sinh(b*x^n + a), x)

________________________________________________________________________________________

giac [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \sinh \left (b x^{n} + a\right )\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(sinh(a+b*x^n),x, algorithm="giac")

[Out]

integrate(sinh(b*x^n + a), x)

________________________________________________________________________________________

maple [C]  time = 0.07, size = 74, normalized size = 1.10 \[ x \hypergeom \left (\left [\frac {1}{2 n}\right ], \left [\frac {1}{2}, 1+\frac {1}{2 n}\right ], \frac {x^{2 n} b^{2}}{4}\right ) \sinh \relax (a )+\frac {x^{n +1} b \hypergeom \left (\left [\frac {1}{2}+\frac {1}{2 n}\right ], \left [\frac {3}{2}, \frac {3}{2}+\frac {1}{2 n}\right ], \frac {x^{2 n} b^{2}}{4}\right ) \cosh \relax (a )}{n +1} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(sinh(a+b*x^n),x)

[Out]

x*hypergeom([1/2/n],[1/2,1+1/2/n],1/4*x^(2*n)*b^2)*sinh(a)+1/(n+1)*x^(n+1)*b*hypergeom([1/2+1/2/n],[3/2,3/2+1/
2/n],1/4*x^(2*n)*b^2)*cosh(a)

________________________________________________________________________________________

maxima [A]  time = 0.52, size = 61, normalized size = 0.91 \[ \frac {x e^{\left (-a\right )} \Gamma \left (\frac {1}{n}, b x^{n}\right )}{2 \, \left (b x^{n}\right )^{\left (\frac {1}{n}\right )} n} - \frac {x e^{a} \Gamma \left (\frac {1}{n}, -b x^{n}\right )}{2 \, \left (-b x^{n}\right )^{\left (\frac {1}{n}\right )} n} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(sinh(a+b*x^n),x, algorithm="maxima")

[Out]

1/2*x*e^(-a)*gamma(1/n, b*x^n)/((b*x^n)^(1/n)*n) - 1/2*x*e^a*gamma(1/n, -b*x^n)/((-b*x^n)^(1/n)*n)

________________________________________________________________________________________

mupad [F]  time = 0.00, size = -1, normalized size = -0.01 \[ \int \mathrm {sinh}\left (a+b\,x^n\right ) \,d x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(sinh(a + b*x^n),x)

[Out]

int(sinh(a + b*x^n), x)

________________________________________________________________________________________

sympy [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \sinh {\left (a + b x^{n} \right )}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(sinh(a+b*x**n),x)

[Out]

Integral(sinh(a + b*x**n), x)

________________________________________________________________________________________